package com.ruoyi.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.order.domain.DTO.VerificationResult;
import com.ruoyi.order.domain.VO.VerificationDetail;
import com.ruoyi.order.domain.VerificationRecord;

import java.util.List;

public interface IVerificationService extends IService<VerificationRecord> {
    /**
     * 生成核销记录
     */
    VerificationRecord generateVerificationRecord(Long orderId, Long merchantId,Long   userId);

    /**
     * 执行核销操作
     */
    VerificationResult verifyOrder(String verifyCode, Long merchantId);

    List<VerificationDetail>  selectList();
}